-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 203 auto switch cycle mode #229
Issue 203 auto switch cycle mode #229
Conversation
Just realized that I missed this. I'll validate in the next day or so. But the code changes look OK with a quick glance. |
I'm still wondering whether it would help raising an alarm if for some reason we can't change the cycle setting, in addition to the debug log statement. (the service call will of course still fail with an appropriate message) |
I agree that an alarm is warranted if the set-operation fails and the current cycle is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yai-rosejo
I just tested and it works great.
Two things:
- It would nice to implement that alarm.
- I think it should do a final check to
Ros_Controller_IsContinuousCycle
to verify the setting was applied. This would require a call toRos_Controller_IoStatusUpdate
to fetch the value.
If you're tied up with Matt, let me know and I'll implement the changes.
Friendly ping? |
Apologies for the delay. I will look at this again later in the week. |
13d491f
to
a461aee
Compare
I've added (a) named constant(s) in a461aee and rebased on top of |
build-check was verified locally. |
#203
A continuation of the discussion and development of the cycle mode. These small changes allow Ros_MotionControl_StartMotionMode() to verify that the system is in a continuous cycle mode, and if it isn't it will try to set the cycle mode to continuous.